<template>
  <el-card :body-style="{ padding: '10px',float:left }" class="bookcard" shadow="hover">
    <div class="book">
      <img class="imgsrc" src="https://cdn2.hemacdn.com/img/5ea75616e256e87d779b3a89ab2c6b3d.jpg">
    </div>
    <div class="book">
      <span class="booktitle">书名：<a>{{ name }}</a></span><br>
      <span class="bookauthor">作者：<a>{{ author }}</a></span><br>
      <span class="bookhot">热度：<a>{{ hot }}</a></span><br>
      <span class="bookauthor">剩余数量：<a>{{ Number_remaining }}</a></span>
    </div>
  </el-card>
</template>

<script>
export default {
  name: 'BookInformation',
  data() {
    return {
      book: {
        image: '',
        name: '',
        ISBN: '',
        author: '',
        hot: '',
        Number_remaining: ''
      }
    }
  }
}
</script>

<style scoped>
  .dashboard-editor-container {
    padding: 32px;
    background-color: rgb(240, 242, 245);
    position: relative;

  .chart-wrapper {
    background: #fff;
    padding: 16px 16px 0;
    margin-bottom: 32px;
  }
  }

  > > > .el-input__inner {
    height: 60px;
    font-size: 16px;
    text-align: left;
    margin-left: 0;
  }

  @media (max-width: 1024px) {
    .chart-wrapper {
      padding: 8px;
    }
  }

  .bookinfo {
    float: left;
    padding-left: 5px;
    font-family: 宋体;
    font-weight: bold;
    min-width: 121px;
  }
  .bookimg{
    float:left;margin-bottom: 10px
  }
  .imgsrc{
    height: 150px;
    width: 105px;
  }
</style>
